//
//  LVSayHelloRelatedView.m
//  LEVE
//
//  Created by 王若聪 on 2017/3/1.
//  Copyright © 2017年 dashuju. All rights reserved.
//

#import "LVSayHelloRelatedView.h"
@interface LVSayHelloRelatedView ()

@property (weak, nonatomic) IBOutlet UIView *timeLabelBackgroundView;

@end


@implementation LVSayHelloRelatedView

+ (instancetype)viewFromNIB {
    // 加载xib中的视图，其中xib文件名和本类类名必须一致
    // 这个xib文件的File's Owner必须为空
    // 这个xib文件必须只拥有一个视图，并且该视图的class为本类
    NSArray *views = [[NSBundle mainBundle] loadNibNamed:NSStringFromClass([self class]) owner:nil options:nil];
    return views[0];
}


- (void)awakeFromNib{
    [super awakeFromNib];
    
//    self.timeLabelBackgroundView.layer.cornerRadius = self.timeLabelBackgroundView.height * 0.5;
//    self.timeLabelBackgroundView.layer.masksToBounds = YES;
//    self.timeLabelBackgroundView.layer.borderWidth = 1;
//    self.timeLabelBackgroundView.layer.borderColor = [UIColor whiteColor].CGColor;
    self.timeLabelBackgroundView.backgroundColor = [UIColor clearColor];
    
//    self.actionButton.layer.borderWidth = 1;
//    self.actionButton.layer.borderColor = [UIColor whiteColor].CGColor;
//    self.actionButton.backgroundColor = [UIColor clearColor];
//    self.actionButton.titleLabel.font = [UIFont systemFontOfSize:13];
//    [self.actionButton setTitle:@"Skip" forState:UIControlStateNormal];
//    self.layer.opacity = 0.5;
//    [self.actionButton setTitleColor:[UIColor colorWithRed:1.0 green:1.0 blue:1.0 alpha:0.5]
//               forState:UIControlStateNormal];
//    self.actionButton.layer.cornerRadius = 15;
//    self.actionButton.layer.masksToBounds = YES;
}

@end
